﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ECS
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("ECS Test");
            Entities world = new Entities();
            for (int i = 0; i < 10; i++)
            {
                System.CreatePlantable(ref world, i.ToString(), i, i);
            }
            for (int i = 0; i < 3; i++)
            {
                System.CreateScaleable(ref world, i.ToString(), i, i);
            }
            for (int i = 0; i < 4; i++)
            {
                System.CreatePlantable(ref world, i.ToString(), i, i);
            }

            Console.WriteLine("所有的Plantable的下标：");
            System.FindAllPlantable(world);
            Console.WriteLine("所有的位置信息：");
            System.GetAllPosition(world);
            Console.WriteLine("所有的缩放信息：");
            System.GetAllScale(world);
        }
    }
}
